package com.yic.module.mes.convert.itemproduce;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.mes.controller.admin.itemproduce.vo.*;
import com.yic.module.mes.dal.dataobject.itemproduce.ItemProduceDO;

/**
 * 产品生产信息 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ItemProduceConvert {

    ItemProduceConvert INSTANCE = Mappers.getMapper(ItemProduceConvert.class);

    ItemProduceDO convert(ItemProduceCreateReqVO bean);

    ItemProduceDO convert(ItemProduceUpdateReqVO bean);

    ItemProduceRespVO convert(ItemProduceDO bean);

    List<ItemProduceRespVO> convertList(List<ItemProduceDO> list);

    PageResult<ItemProduceRespVO> convertPage(PageResult<ItemProduceDO> page);

    List<ItemProduceExcelVO> convertList02(List<ItemProduceDO> list);

}
